package com.hs.wa.dao;

import com.hs.wa.entity.Ruleconfig;
import com.hs.wa.entity.RuleconfigCondition;
import com.hs.wa.entity.RuleconfigKey;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RuleconfigMapper {
    long countByExample(RuleconfigCondition example);

    int deleteByExample(RuleconfigCondition example);

    int deleteByPrimaryKey(RuleconfigKey key);

    int insert(Ruleconfig record);

    int insertSelective(Ruleconfig record);

    List<Ruleconfig> selectByExample(RuleconfigCondition example);

    Ruleconfig selectByPrimaryKey(RuleconfigKey key);

    int updateByExampleSelective(@Param("record") Ruleconfig record, @Param("example") RuleconfigCondition example);

    int updateByExample(@Param("record") Ruleconfig record, @Param("example") RuleconfigCondition example);

    int updateByPrimaryKeySelective(Ruleconfig record);

    int updateByPrimaryKey(Ruleconfig record);
}